Imports Microsoft.VisualBasic
Imports System.Data.Common

Public Class MySqlClientFactory
    Inherits DbProviderFactory

    Public Overrides Function CreateCommand() As DbCommand

        Return New MySqlCommand()

    End Function

    Public Overrides Function CreateConnection() As System.Data.Common.DbConnection

        Return New MySqlConnection()

    End Function

    Public Overrides Function CreateDataAdapter() As System.Data.Common.DbDataAdapter

        Throw New ApplicationException("TODO")

    End Function

    Public Overrides Function CreateParameter() As System.Data.Common.DbParameter

        Return New MySqlParameter()

    End Function
End Class
